<h1>%%BME_welcome%%</h1>
<form action='<?php echo BME_SITE."#".$_COOKIE["BME_pre_request"] ?>' method='post' style='text-align:center;' id='BME_login_form'>
	<br/>
	<label for='username'><b>%%site_login_username%%</b></label><br/>
	<input type='text' name='username' id='username' style='text-align:center;'/><br/><br/>
	
	<label for='password'><b>%%site_login_password%%</b></label><br/>
	<input type='password' name='password' id='password' style='text-align:center;'/><br/><br/>
	
	<input type='submit' value='%%site_login_submit%%'/>
	<br/><br/>
</form>
<script type='text/javascript'>
document.getElementById("BME_login_form").action = '<?php echo BME_SITE ?>'+location.hash;
</script>
